package httpService

import "github.com/labstack/echo/v4"

func UserInfo(c echo.Context)error{
	loginUser := c.Get("login_user").(string)
	return c.JSON(200, map[string]interface{}{
		"status": 0,
		"data":map[string]interface{}{
			"username":loginUser,
		},
	})
}
